//
//  MLTempViewController.swift
//  SinaWeibo
//
//  Created by 李亮亮 on 16/4/8.
//  Copyright © 2016年 Big Fish. All rights reserved.
//

import UIKit

class MLTempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        navigationItem.rightBarButtonItem = UIBarButtonItem.init(title:nil, imageName: "navigationbar_friendsearch", target: self, action: #selector(MLTempViewController.push))
        
    }
    
    
    func push() {
        
        let temp = MLTempViewController()
        // push到子页面
        navigationController?.pushViewController(temp, animated: true)
    }
    

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    
    
}
